package com.tencreat.domain.mall;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.tencreat.common.annotation.Excel;
import com.tencreat.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.sql.Time;
import java.time.LocalDateTime;


/**
 * 消息列对象 mall_message_list
 *
 * @author tencreat
 * @date 2021-11-24
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
@ApiModel
@TableName("mall_message_config")
public class MallMessageConfig extends BaseEntity<MallMessageConfig>{
    private static final long serialVersionUID = 1L;


    /** 编号 */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "ID")
    private Long id;


    @ApiModelProperty(value= "客服名称")
    @TableField("`name`")
    private String name;


    @ApiModelProperty(value= "客服头像")
    @TableField("`head_url`")
    private String headUrl;


    @ApiModelProperty(value= "自动回复内容")
    @TableField("`content`")
    private String content;

    @ApiModelProperty(value= "自动回复开始时间")
    @TableField("`auto_start_time`")
    private Time autoStartTime;

    @ApiModelProperty(value= "自动回复结束时间")
    @TableField("`auto_end_time`")
    private Time autoEndTime;

    @TableLogic
    @TableField("`del_flag`")
    private String delFlag;


    /** 租户号 */
    @Excel(name = "租户号")
    @ApiModelProperty(value= "租户号")
    @TableField("`tenant_id`")
    private Long tenantId;


}
